package com.imot.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.imot.pojo.entity.MeasurementDetails;
import com.imot.pojo.entity.MeasurementInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

/**
 * ClassName: MeasurementListVo
 * Description:
 * date: 2023/11/18 17:37
 *
 * @author imot-jiah.wang
 */
@Data
public class MeasurementListVo {
    private MeasurementInfo measurementInfo;
    private MeasurementDetails measurementDetails;

    @ApiModelProperty(value = "计量项目名称")
    private String measurementName;

    @ApiModelProperty(value = "计量编号")
    private String measurementNumber;

    @ApiModelProperty(value = "计量状态")
    private String measurementStatus;

    @ApiModelProperty(value = "计量周期（单位：天）")
    private Integer measurementCycle;

    @ApiModelProperty(value = "是否提醒（0：否，1：是）")
    private String reminderFlag;

    @ApiModelProperty(value = "到期时间")
    private LocalDate expiryDate;

    @ApiModelProperty(value = "上次计量日期")
    private LocalDate lastMeasurementDate;

    @ApiModelProperty(value = "计量人员")
    private String measurementPersonnel;

    @ApiModelProperty(value = "是否删除")
    private Integer isDeleted;

    @ApiModelProperty(value = "创建时间")
    private LocalDate createDate;

    @ApiModelProperty(value = "关联计量信息表的ID")
    private Integer measurementInfoId;

    @ApiModelProperty(value = "计量日期")
    private LocalDate measurementDate;
}

